Code related to geometry, such as standard algorithms for line intersection and checking to see if a point is inside a polygon.
Paul Bourke
is an excellent source of information regarding these kinds of algorithms.